import request from '@/utils/request'

//查询全部操作日志
export function loadAllOperLog(query) {
    return request({
        url: '/system/operlog/loadAllOperLogByPage',
        method: 'get',
        params: query
    })
}

//删除操作日志
export function removeOperLog(ids) {
    return request({
        url: '/system/operlog/removeOperLog/' + ids,
        method: 'delete'
    })
}


//清空操作日志
export function clearOperLogs() {
    return request({
        url: '/system/operlog/clearOperLogs',
        method: 'delete'
    })
}



